package com.hometeacher.api.model;

import lombok.Data;

import javax.persistence.*;

/**
 * @author ZhaoYuan
 * @data 08/04/2020 17:12
 */
@Entity
@Table(name = "teacher_list", schema = "lishu_data")
@Data
public class TeacherList {
    @Id
    @Column(name = "teacher_id", nullable = true)
    private long teacherID;

    @Column(name = "uid", nullable = true)
    private Long uid;

    @Column(name = "teacher_name", nullable = true)
    private String teacherName;
    @Column(name = "teacher_sex", nullable = true)
    private String teacherSex;
    @Column(name = "birthday", nullable = true)
    private String birthday;
    @Column(name = "living_area", nullable = true)
    private String livingArea;
    @Column(name = "college", nullable = true)
    private String college;
    @Column(name = "profession", nullable = true)
    private String profession;
    @Column(name = "teaching_way", nullable = true)
    private String teachingWay;
    @Column(name = "course", nullable = true)
    private String course;
    @Column(name = "self_description", nullable = true)
    private String selfDescription;
    @Column(name = "honor_details", nullable = true)
    private String honorDetails;
    @Column(name = "teaching_area", nullable = true)
    private String teachingArea;
    @Column(name = "way", nullable = true)
    private String way;
    @Column(name = "achievements", nullable = true)
    private String achievements;
    @Column(name = "frequency", nullable = true)
    private String frequency;
    @Column(name = "salary", nullable = true)
    private String salary;
}
